<?php

namespace AdminBalk\Controller;

class Index  extends \Controller {
    public function index() {
        $this->_view = new \AdminBalk\Views\View();
        if (!isset($_SESSION['persoonid'])) {
            $_SESSION['persoonid'] = 0;
        }
        if (intval($_SESSION['persoonid']) == 0) {
            $this->_view->genereer('AdminBalk','Index','balkStandaard');
        } else {
            $this->_view->genereer('AdminBalk','Index','balkAangemeld');
        }
    }
}
